//
//  NSString+Judge.h
//  WestWolves
//
//  Created by JL on 15/12/11.
//  Copyright © 2015年 ZJ. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSString (Judge)
//判断是否为身份证
- (BOOL) validateIdentityCard;
//判断是否为手机号
+ (BOOL) validateMobile:(NSString *)mobile;
//判断是否为邮箱
+ (BOOL) validateEmail:(NSString *)email;
//判断既是数字又是字母
+ (BOOL)isPureNumandCharacters:(NSString *)numChara;
//判断字符串的长度在一个范围内
+(BOOL)ispureNumCharaRange:(NSString *)numChara From:(int)startNum To:(int)endNum;
/**
 判断字符串是否为空，包括字符串是否为nil或是@""或是NSNull类型对象
 */
+(BOOL)isNull:(NSString *)string;
@end
